package com.woniuxy.service.impl;

import com.woniuxy.dao.QuestionHardLevelDao;
import com.woniuxy.entity.QuestionHardLevel;
import com.woniuxy.entity.ResponseEntity;
import com.woniuxy.service.QuestionHardLevelService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author 罗蔚
 * @Date 2022/4/27 19:53
 * @Description TODO
 */
@Service
public class QuestionHardLevelServiceImpl implements QuestionHardLevelService {
    @Resource
    QuestionHardLevelDao questionHardLevelDao;

    @Override
    public ResponseEntity find() {

        List<QuestionHardLevel> list = questionHardLevelDao.find();
        return new ResponseEntity(200,"查询成功", list);
    }
}
